home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / add_tm_d.zip / DSZ-DEMO.BAT < prev    next >
DOS Batch File  |  1991-12-05  |  2KB  |  40 lines

  1. @echo off
  2. rem to run Demo of addtime.bat
  3. rem all these goto's are necessary if a path
  4. rem is this long like c:\xxx\xxxx\xxxxxx\xxxxxxxx.xxx 
  5. rem Run w/ no parm1 to see demo, parm1 for an existing dszlog to add timestamp
  6. rem next 2 lines are only to remind that pads must be set if MSDOS and LIVE
  7. rem See QM-EXMPL.BAT
  8. if not "%OS%"=="DRDOS" set pad70=
  9. if not "%OS%"=="DRDOS" set pad30=
  10. if "%1"=="" goto blank1
  11. if exist %1 goto exists
  12. echo %1 File does not Exist..Cancel with ^C
  13. echo Or the file will be built and written to.  
  14. goto xblank1
  15. :exists
  16. echo Adding Time Stamp Line to %1
  17. echo While Running, no Parameters Are Displayed..Simulates Actual Usage
  18. goto xblank1
  19. :blank1
  20. echo Using Demo.log as dszlog file. Parameters are displayed
  21. echo Note: if this DEMO.LOG is set to a real-live dszlog file only time/day
  22. echo       Information will be appended as this is a simulated run only.
  23. echo       You may do so by invoking DSZ-DEMO path_dszlog_filename.ext
  24. :xblank1
  25. set speed=38400
  26. set modem=w/ USR Dual Std                @
  27. pause 
  28. echo Simulated DSZ is running....
  29. set logfile=%dszlog%
  30. if     "%1"=="" set dszlog=demo
  31. if not "%1"=="" set dszlog=%1 
  32. : un comment next dsz line for a live test, AND cmd line of DSZ-DEMO demo.log
  33. : Change port# to your system's, Call some BBS, DL 256ktest.run, Exit DSZ w/ F1
  34. : dsz port 2 speed %speed% d t -y8gMZ
  35. call addtime %dszlog% %speed% %modem%
  36. set dszlog=%logfile%
  37. set logfile=
  38. set speed=
  39. set modem=
  40.